<?php

class Application_Form_Lista extends Zend_Form
{

    public function init()
    {
        $this->setName('form_lista');
        $this->setAction('');
        $this->setMethod('post');
        
        $criar = new Zend_Form_Element_Submit('Criar');
        $criar->setAttribs(array('title'=> 'Criar', 'style'=>'font-weight:bold;'));
        
        $lista = new Zend_Form_Element_Text('nome');
        $lista->setLabel('Nome:');
        $lista->setAttribs(array('size'=>'50'));
        $lista->setRequired(true);
        
        $this->addElements(array($lista,$criar));
    }


}

